package cn.pro.utils;

public class ProData {
    private String code;
    private Integer status;
    private Object message;
    public ProData(){

    }


    public String getCode() {
        return code;
    }

    public void setCode(String code) {
        this.code = code;
    }

    public Integer getStatus() {
        return status;
    }

    public void setStatus(Integer status) {
        this.status = status;
    }



    public static ProData data(String code,Integer status,Object message) {
        ProData pro = new ProData();
        pro.setCode(code);
        pro.setStatus(status);
        pro.setMessage(message);
        return pro;
    }

    public Object getMessage() {
        return message;
    }

    public void setMessage(Object message) {
        this.message = message;
    }
}
